package com.cn.serverline.lineicp.produce.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author 王烁烁
 * @Date 2024/8/15
 */
@Data
public class GatherDto {

    @ApiModelProperty(value = "配置参数id")
    @TableField("DISPOSITION_ID")
    private Long dispositionId;


    @ApiModelProperty(value = "类型id")
    @NotEmpty(message = "类型id不能为空")
    private List<Long> deviceId;


    @ApiModelProperty(value = "工位id")
    @NotBlank(message = "工位id不能为空")
    private String stationId;

    @ApiModelProperty(value = "工步所需id")
    @NotNull(message = "工步所需id不能为空")
    private List<Long> tpdId;



}
